package 富婆梦.第一阶段.第三周.练习题;
import java.io .*;
import java.util.*;

public class GameHelper {
    /*private static final String alphabet ="abcdefg";
    private int gridLength=7;
    private int gridSize = 49;

    private int[] grid= new int[gridSize]:
    private int  comCount=0;

    public String getUserlnput(String prompt) {

    String inputLine =null;
    System.out.print(prompt+" ");
try {
    BufferedReader is = new BufferedReader(new InputStreamReader(System.in));
    inputLine = is.readLine();
    if (inputLine.length()==0)return null;
}catch(Exception e) {
    System.out.println("IOException：" + e);
    return inputLine.toLowerCase();
}

    public ArrayList<String> placeDotCom(int cornsize) {
    ArrayList<String> aiphaCells = new ArrayList<String>();
    String[] aiphacoords =new String [cornsize];
            String temp null;
            int[] coords =new int[comSize];
            int attempts =0;
            boolean success=false;
            int location=0;
            comCount++;
            int incr = 1;
            if((comCount%2==1) {
                incr=gridLength;
            }
while(!success &attempts++ < 200){

    location=(int) (Math.random()*gridSize);
    //Systemout.print(’ try + location);
    int x = 0;
    success =true;
while(success &&x<comSize){
            if(grid[location]==0){


*/
    public String getUserInput(String prompt){
        return null;
    }
    public ArrayList<String> placeDotCom(int cornsize) {
        return null;
    }




}
